* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  touch-action: manipulation;
}

:root {
  --bg: #141313;
  --text-dark: #ffffff;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f4f5f8;
  --text-dark: #111215;
  color-scheme: light;
}

html,
body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg);
  color: var(--text-dark);
  color-scheme: dark;
}

[data-theme="light"] html,
[data-theme="light"] body {
  color-scheme: light;
}

body {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  padding-right: 10px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-family: "Poppins";
  src: url("../LAMBU-Fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../LAMBU-Fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  width: 100%;
  box-sizing: border-box;
}

.logo-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.lambu-brand-logo {
  height: 34px;
  width: auto;
  max-width: 125px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(140, 114, 238, 0.2));
  transition: transform 0.2s ease;
}

.logo-brand-link:hover .lambu-brand-logo {
  transform: scale(1.02);
}

[data-theme="light"] .lambu-slogan {
  color: #111215;
}

.slogan-wrapper {
  flex: 1;
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  text-align: center;
  width: 100%;
}

.lambu-slogan {
  font-family: "Poppins";
  font-weight: 600;
  font-size: clamp(1rem, 8dvw, 2.5rem);
  width: 50%;
  color: var(--text-dark, #ffffff);
}

.btn-get-started {
  position: absolute;
  bottom: 50px;
  font-family: "Poppins";
  font-size: clamp(1rem, 8dvw, 1.2rem);
  font-weight: 600;
  border-radius: 50px;
  padding-top: min(1.1em, 8%);
  padding-bottom: min(1.1em, 8%);
  padding-right: min(2.5em, 8%);
  padding-left: min(2.5em, 8%);
  color: oklch(91.279% 0.0001 271.152);
  background: linear-gradient(-90deg,
      oklch(59.657% 0.29347 310.756),
      oklch(80.128% 0.11644 221.315),
      oklch(48.466% 0.25504 279.406));
  border: none;
  background-size: 500%;
  animation: glowing 1.5s linear infinite;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-get-started:active {
  transform: scale(0.9);
  box-shadow: 0px 0px 20px oklch(59.558% 0.0673 314.573);
}

@keyframes glowing {
  0% {
    background-position: 0% 500%;
  }

  100% {
    background-position: 100% 500%;
  }

  /* 60% {
        background-position: 50% 0%;
      } */
}

@media (max-width: 800px) {
  .logo-wrapper {
    padding-left: 40px;
  }

  .lambu-slogan {
    width: 100%;
  }
}


/* ══════════════════════════════════════════════════
   LOGIN MODAL
   ══════════════════════════════════════════════════ */

/* Backdrop */
.lm-backdrop {
  display: flex;
  align-items: flex-end;          /* sheet sticks to bottom */
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.lm-backdrop.lm-open {
  opacity: 1;
  pointer-events: auto;
}

/* Sheet */
.lm-sheet {
  position: relative;
  width: min(420px, 100%);
  background: #0e0e10;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px 20px 0 0;
  padding: 36px 28px 44px;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}

.lm-backdrop.lm-open .lm-sheet {
  transform: translateY(0);
}

/* Disconnected corner accents (neon) */
.lm-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.lm-corner--tl {
  top: 16px;
  left: 16px;
  border-top: 2px solid oklch(59.657% 0.29347 310.756); /* purple neon */
  border-left: 2px solid oklch(59.657% 0.29347 310.756);
  border-radius: 3px 0 0 0;
}

.lm-corner--br {
  bottom: 16px;
  right: 16px;
  border-bottom: 2px solid oklch(48.466% 0.25504 279.406); /* indigo neon */
  border-right: 2px solid oklch(48.466% 0.25504 279.406);
  border-radius: 0 0 3px 0;
}

/* Typography */
.lm-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-dark, #ffffff);
  margin-bottom: 2px;
}

.lm-sub {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 28px;
}

/* Buttons — base */
.lm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.lm-btn:active {
  transform: scale(0.96);
  opacity: 0.85;
}

/* Google button */
.lm-btn--google {
  background: #ffffff;
  color: #1a1a1a;
}

/* Guest button */
.lm-btn--guest {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 10px;
}

.lm-btn--guest:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
}

/* Divider */
.lm-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.2);
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
}

.lm-divider::before,
.lm-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Close button */
.lm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease;
}

.lm-close svg {
  width: 16px;
  height: 16px;
}

.lm-close:hover,
.lm-close:focus-visible {
  color: rgba(255, 255, 255, 0.75);
}

/* Light theme adjustments */
[data-theme="light"] .lm-sheet {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .lm-title {
  color: #111215;
}

[data-theme="light"] .lm-sub {
  color: rgba(0, 0, 0, 0.38);
}

[data-theme="light"] .lm-btn--google {
  background: #1a1a1a;
  color: #ffffff;
}

[data-theme="light"] .lm-btn--guest {
  color: rgba(0, 0, 0, 0.55);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .lm-btn--guest:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111215;
}

[data-theme="light"] .lm-close {
  color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .lm-close:hover,
[data-theme="light"] .lm-close:focus-visible {
  color: #111215;
}

[data-theme="light"] .lm-divider {
  color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .lm-divider::before,
[data-theme="light"] .lm-divider::after {
  background: rgba(0, 0, 0, 0.1);
}

/* On large screens, center the sheet instead of bottom-sheet */
@media (min-height: 600px) and (min-width: 500px) {
  .lm-backdrop {
    align-items: center;
  }
  .lm-sheet {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transform: translateY(24px) scale(0.97);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.22s ease;
  }
  .lm-backdrop.lm-open .lm-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}


/* Login modal — guest caveat line */
.lm-note {
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  text-align: center;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .lm-note {
  color: rgba(0, 0, 0, 0.35);
}

.lm-sub {
  line-height: 1.5;
  max-width: 30ch;
}

